package net.sk.china.city.domain.dto;

import lombok.Data;

import java.util.List;

@Data
public class PageData<T> {
    private int current;
    private int size;
    private long total;
    private List<T> pageData;

    public PageData(int current, int size, long total, List<T> pageData) {
        this.current = current;
        this.size = size;
        this.total = total;
        this.pageData = pageData;
    }
}
